// JavaScript Document
var address = {
    "response": {
        "data": [
            {
                "id": "1",
                "name": "北京",
                "value": "beijing",
                "pingyin": "beijing"
            },
            {
                "id": "2",
                "name": "上海",
                "value": "shanghai",
                "pingyin": "shanghai"
            },
            {
                "id": "3",
                "name": "广州",
                "value": "guanzhou",
                "pingyin": "guanzhou"
            },
            {
                "id": "4",
                "name": "深圳",
                "value": "shenzhen",
                "pingyin": "shenzhen"
            },
            {
                "id": "5",
                "name": "成都",
                "value": "chengdu",
                "pingyin": "chengdu"
            },
            {
                "id": "6",
                "name": "杭州",
                "value": "hangzhou",
                "pingyin": "hangzhou"
            },
            {
                "id": "7",
                "name": "武汉",
                "value": "wuhan",
                "pingyin": "wuhan"
            },
            {
                "id": "8",
                "name": "西安",
                "value": "xian",
                "pingyin": "xian"
            },
            {
                "id": "9",
                "name": "重庆",
                "value": "chongqing",
                "pingyin": "chongqing"
            },
            {
                "id": "10",
                "name": "青岛",
                "value": "qingdao",
                "pingyin": "qingdao"
            },
            {
                "id": "11",
                "name": "长沙",
                "value": "changsha",
                "pingyin": "changsha"
            },
            {
                "id": "12",
                "name": "南京",
                "value": "nanjing",
                "pingyin": "nanjing"
            },
            {
                "id": "13",
                "name": "厦门",
                "value": "xiamen",
                "pingyin": "xiamen"
            },
            {
                "id": "14",
                "name": "昆明",
                "value": "kunming",
                "pingyin": "kunming"
            },
            {
                "id": "15",
                "name": "大连",
                "value": "dalian",
                "pingyin": "dalian"
            },
            {
                "id": "16",
                "name": "天津",
                "value": "tianjin",
                "pingyin": "tianjin"
            },
            {
                "id": "17",
                "name": "郑州",
                "value": "zhengzhou",
                "pingyin": "zhengzhou"
            },
            {
                "id": "18",
                "name": "三亚",
                "value": "sanya",
                "pingyin": "sanya"
            },
            {
                "id": "19",
                "name": "济南",
                "value": "jinan",
                "pingyin": "jinan"
            },
            {
                "id": "20",
                "name": "福州",
                "value": "fuzhou",
                "pingyin": "fuzhou"
            },
            {
                "id": "21",
                "name": "安庆",
                "value": "anqing",
                "pingyin": "anqing"
            },
            {
                "id": "22",
                "name": "安顺",
                "value": "anshun",
                "pingyin": "anshun"
            },
            {
                "id": "23",
                "name": "安阳",
                "value": "anyang",
                "pingyin": "anyang"
            },
            {
                "id": "24",
                "name": "鞍山",
                "value": "anshan",
                "pingyin": "anshan"
            },
            {
                "id": "25",
                "name": "阿拉善盟",
                "value": "alashanmeng",
                "pingyin": "alashanmeng"
            },
            {
                "id": "26",
                "name": "安康",
                "value": "ankang",
                "pingyin": "ankang"
            },
            {
                "id": "27",
                "name": "阿坝",
                "value": "aba",
                "pingyin": "aba"
            },
            {
                "id": "28",
                "name": "阿里",
                "value": "ali",
                "pingyin": "ali"
            },
            {
                "id": "29",
                "name": "阿克苏",
                "value": "akesu",
                "pingyin": "akesu"
            },
            {
                "id": "30",
                "name": "阿拉尔",
                "value": "alaer",
                "pingyin": "alaer"
            },
            {
                "id": "31",
                "name": "阿勒泰",
                "value": "aletai",
                "pingyin": "aletai"
            },
            {
                "id": "32",
                "name": "蚌埠",
                "value": "bengbu",
                "pingyin": "bengbu"
            },
            {
                "id": "33",
                "name": "亳州",
                "value": "bozhou",
                "pingyin": "bozhou"
            },
            {
                "id": "34",
                "name": "白银",
                "value": "baiyin",
                "pingyin": "baiyin"
            },
            {
                "id": "35",
                "name": "百色",
                "value": "baise",
                "pingyin": "baise"
            },
            {
                "id": "36",
                "name": "北海",
                "value": "beihai",
                "pingyin": "beihai"
            },
            {
                "id": "37",
                "name": "毕节",
                "value": "bijie",
                "pingyin": "bijie"
            },
            {
                "id": "38",
                "name": "白沙",
                "value": "baisha",
                "pingyin": "baisha"
            },
            {
                "id": "39",
                "name": "保亭",
                "value": "baoting",
                "pingyin": "baoting"
            },
            {
                "id": "40",
                "name": "保定",
                "value": "baoding",
                "pingyin": "baoding"
            },
            {
                "id": "41",
                "name": "白城",
                "value": "baicheng",
                "pingyin": "baicheng"
            },
            {
                "id": "42",
                "name": "白山",
                "value": "baishan",
                "pingyin": "baishan"
            },
            {
                "id": "43",
                "name": "本溪",
                "value": "benxi",
                "pingyin": "benxi"
            },
            {
                "id": "44",
                "name": "巴彦淖尔",
                "value": "bayannaoer",
                "pingyin": "bayannaoer"
            },
            {
                "id": "45",
                "name": "包头",
                "value": "baotou",
                "pingyin": "baotou"
            },
            {
                "id": "46",
                "name": "滨州",
                "value": "binzhou",
                "pingyin": "binzhou"
            },
            {
                "id": "47",
                "name": "宝鸡",
                "value": "baoji",
                "pingyin": "baoji"
            },
            {
                "id": "48",
                "name": "巴中",
                "value": "bazhong",
                "pingyin": "bazhong"
            },
            {
                "id": "49",
                "name": "巴音郭楞",
                "value": "bayinguoleng",
                "pingyin": "bayinguoleng"
            },
            {
                "id": "50",
                "name": "博尔塔拉",
                "value": "boertala",
                "pingyin": "boertala"
            },
            {
                "id": "51",
                "name": "保山",
                "value": "baoshan",
                "pingyin": "baoshan"
            },
            {
                "id": "52",
                "name": "巢湖",
                "value": "chaohu",
                "pingyin": "chaohu"
            },
            {
                "id": "53",
                "name": "池州",
                "value": "chizhou",
                "pingyin": "chizhou"
            },
            {
                "id": "54",
                "name": "滁州",
                "value": "chuzhou",
                "pingyin": "chuzhou"
            },
            {
                "id": "55",
                "name": "潮州",
                "value": "chaozhou",
                "pingyin": "chaozhou"
            },
            {
                "id": "56",
                "name": "崇左",
                "value": "chongzuo",
                "pingyin": "chongzuo"
            },
            {
                "id": "57",
                "name": "昌江",
                "value": "changjiang",
                "pingyin": "changjiang"
            },
            {
                "id": "58",
                "name": "澄迈县",
                "value": "chengmaixian",
                "pingyin": "chengmaixian"
            },
            {
                "id": "59",
                "name": "沧州",
                "value": "cangzhou",
                "pingyin": "cangzhou"
            },
            {
                "id": "60",
                "name": "承德",
                "value": "chengde",
                "pingyin": "chengde"
            },
            {
                "id": "61",
                "name": "常德",
                "value": "changde",
                "pingyin": "changde"
            },
            {
                "id": "62",
                "name": "郴州",
                "value": "chenzhou",
                "pingyin": "chenzhou"
            },
            {
                "id": "63",
                "name": "长春",
                "value": "changchun",
                "pingyin": "changchun"
            },
            {
                "id": "64",
                "name": "常州",
                "value": "changzhou",
                "pingyin": "changzhou"
            },
            {
                "id": "65",
                "name": "朝阳",
                "value": "chaoyang",
                "pingyin": "chaoyang"
            },
            {
                "id": "66",
                "name": "赤峰",
                "value": "chifeng",
                "pingyin": "chifeng"
            },
            {
                "id": "67",
                "name": "长治",
                "value": "changzhi",
                "pingyin": "changzhi"
            },
            {
                "id": "68",
                "name": "昌都",
                "value": "changdu",
                "pingyin": "changdu"
            },
            {
                "id": "69",
                "name": "昌吉",
                "value": "changji",
                "pingyin": "changji"
            },
            {
                "id": "70",
                "name": "楚雄",
                "value": "chuxiong",
                "pingyin": "chuxiong"
            },
            {
                "id": "71",
                "name": "赤壁市",
                "value": "chibishi",
                "pingyin": "chibishi"
            },
            {
                "id": "72",
                "name": "定西",
                "value": "dingxi",
                "pingyin": "dingxi"
            },
            {
                "id": "73",
                "name": "东莞",
                "value": "dongguan",
                "pingyin": "dongguan"
            },
            {
                "id": "74",
                "name": "定安县",
                "value": "andingxian",
                "pingyin": "andingxian"
            },
            {
                "id": "75",
                "name": "东方",
                "value": "dongfang",
                "pingyin": "dongfang"
            },
            {
                "id": "76",
                "name": "儋州",
                "value": "danzhou",
                "pingyin": "danzhou"
            },
            {
                "id": "77",
                "name": "大庆",
                "value": "daqing",
                "pingyin": "daqing"
            },
            {
                "id": "78",
                "name": "大兴安岭",
                "value": "daxinganling",
                "pingyin": "daxinganling"
            },
            {
                "id": "79",
                "name": "丹东",
                "value": "dandong",
                "pingyin": "dandong"
            },
            {
                "id": "80",
                "name": "德州",
                "value": "dezhou",
                "pingyin": "dezhou"
            },
            {
                "id": "81",
                "name": "东营",
                "value": "dongying",
                "pingyin": "dongying"
            },
            {
                "id": "82",
                "name": "大同",
                "value": "datong",
                "pingyin": "datong"
            },
            {
                "id": "83",
                "name": "达州",
                "value": "dazhou",
                "pingyin": "dazhou"
            },
            {
                "id": "84",
                "name": "德阳",
                "value": "deyang",
                "pingyin": "deyang"
            },
            {
                "id": "85",
                "name": "大理",
                "value": "dali",
                "pingyin": "dali"
            },
            {
                "id": "86",
                "name": "德宏",
                "value": "dehong",
                "pingyin": "dehong"
            },
            {
                "id": "87",
                "name": "迪庆",
                "value": "diqing",
                "pingyin": "diqing"
            },
            {
                "id": "88",
                "name": "鄂州",
                "value": "ezhou",
                "pingyin": "ezhou"
            },
            {
                "id": "89",
                "name": "恩施",
                "value": "enshi",
                "pingyin": "enshi"
            },
            {
                "id": "90",
                "name": "鄂尔多斯",
                "value": "eerduosi",
                "pingyin": "eerduosi"
            },
            {
                "id": "91",
                "name": "阜阳",
                "value": "fuyang",
                "pingyin": "fuyang"
            },
            {
                "id": "92",
                "name": "佛山",
                "value": "foushan",
                "pingyin": "foushan"
            },
            {
                "id": "93",
                "name": "防城港",
                "value": "fangchenggang",
                "pingyin": "fangchenggang"
            },
            {
                "id": "94",
                "name": "抚州",
                "value": "fuzhou",
                "pingyin": "fuzhou"
            },
            {
                "id": "95",
                "name": "抚顺",
                "value": "fushun",
                "pingyin": "fushun"
            },
            {
                "id": "96",
                "name": "阜新",
                "value": "fuxin",
                "pingyin": "fuxin"
            },
            {
                "id": "97",
                "name": "甘南",
                "value": "gannan",
                "pingyin": "gannan"
            },
            {
                "id": "98",
                "name": "桂林",
                "value": "guilin",
                "pingyin": "guilin"
            },
            {
                "id": "99",
                "name": "贵港",
                "value": "guigang",
                "pingyin": "guigang"
            },
            {
                "id": "100",
                "name": "贵阳",
                "value": "guiyang",
                "pingyin": "guiyang"
            },
            {
                "id": "101",
                "name": "赣州",
                "value": "ganzhou",
                "pingyin": "ganzhou"
            },
            {
                "id": "102",
                "name": "固原",
                "value": "guyuan",
                "pingyin": "guyuan"
            },
            {
                "id": "103",
                "name": "果洛",
                "value": "guoluo",
                "pingyin": "guoluo"
            },
            {
                "id": "104",
                "name": "甘孜",
                "value": "ganzi",
                "pingyin": "ganzi"
            },
            {
                "id": "105",
                "name": "广安",
                "value": "guangan",
                "pingyin": "guangan"
            },
            {
                "id": "106",
                "name": "广元",
                "value": "guangyuan",
                "pingyin": "guangyuan"
            },
            {
                "id": "107",
                "name": "合肥",
                "value": "hefei",
                "pingyin": "hefei"
            },
            {
                "id": "108",
                "name": "淮北",
                "value": "huaibei",
                "pingyin": "huaibei"
            },
            {
                "id": "109",
                "name": "淮南",
                "value": "huainan",
                "pingyin": "huainan"
            },
            {
                "id": "110",
                "name": "黄山",
                "value": "huangshan",
                "pingyin": "huangshan"
            },
            {
                "id": "111",
                "name": "河源",
                "value": "heyuan",
                "pingyin": "heyuan"
            },
            {
                "id": "112",
                "name": "惠州",
                "value": "huizhou",
                "pingyin": "huizhou"
            },
            {
                "id": "113",
                "name": "河池",
                "value": "hechi",
                "pingyin": "hechi"
            },
            {
                "id": "114",
                "name": "贺州",
                "value": "hezhou",
                "pingyin": "hezhou"
            },
            {
                "id": "115",
                "name": "海口",
                "value": "haikou",
                "pingyin": "haikou"
            },
            {
                "id": "116",
                "name": "邯郸",
                "value": "handan",
                "pingyin": "handan"
            },
            {
                "id": "117",
                "name": "衡水",
                "value": "hengshui",
                "pingyin": "hengshui"
            },
            {
                "id": "118",
                "name": "鹤壁",
                "value": "hebi",
                "pingyin": "hebi"
            },
            {
                "id": "119",
                "name": "哈尔滨",
                "value": "haerbin",
                "pingyin": "haerbin"
            },
            {
                "id": "120",
                "name": "鹤岗",
                "value": "hegang",
                "pingyin": "hegang"
            },
            {
                "id": "121",
                "name": "黑河",
                "value": "heihe",
                "pingyin": "heihe"
            },
            {
                "id": "123",
                "name": "黄冈",
                "value": "huanggang",
                "pingyin": "huanggang"
            },
            {
                "id": "124",
                "name": "黄石",
                "value": "huangshi",
                "pingyin": "huangshi"
            },
            {
                "id": "125",
                "name": "衡阳",
                "value": "hengyang",
                "pingyin": "hengyang"
            },
            {
                "id": "126",
                "name": "怀化",
                "value": "huaihua",
                "pingyin": "huaihua"
            },
            {
                "id": "127",
                "name": "淮安",
                "value": "huaian",
                "pingyin": "huaian"
            },
            {
                "id": "128",
                "name": "葫芦岛",
                "value": "huludao",
                "pingyin": "huludao"
            },
            {
                "id": "129",
                "name": "呼和浩特",
                "value": "huhehaote",
                "pingyin": "huhehaote"
            },
            {
                "id": "130",
                "name": "呼伦贝尔",
                "value": "hulunbeier",
                "pingyin": "hulunbeier"
            },
            {
                "id": "131",
                "name": "海北",
                "value": "haibei",
                "pingyin": "haibei"
            },
            {
                "id": "132",
                "name": "海东",
                "value": "haidong",
                "pingyin": "haidong"
            },
            {
                "id": "133",
                "name": "海南",
                "value": "hainan",
                "pingyin": "hainan"
            },
            {
                "id": "134",
                "name": "海西",
                "value": "haixi",
                "pingyin": "haixi"
            },
            {
                "id": "135",
                "name": "黄南",
                "value": "huangnan",
                "pingyin": "huangnan"
            },
            {
                "id": "136",
                "name": "菏泽",
                "value": "heze",
                "pingyin": "heze"
            },
            {
                "id": "137",
                "name": "汉中",
                "value": "hanzhong",
                "pingyin": "hanzhong"
            },
            {
                "id": "138",
                "name": "哈密",
                "value": "hami",
                "pingyin": "hami"
            },
            {
                "id": "139",
                "name": "和田",
                "value": "hetian",
                "pingyin": "hetian"
            },
            {
                "id": "140",
                "name": "红河",
                "value": "honghe",
                "pingyin": "honghe"
            },
            {
                "id": "141",
                "name": "湖州",
                "value": "huzhou",
                "pingyin": "huzhou"
            },
            {
                "id": "142",
                "name": "嘉峪关",
                "value": "jiayuguan",
                "pingyin": "jiayuguan"
            },
            {
                "id": "143",
                "name": "金昌",
                "value": "jinchang",
                "pingyin": "jinchang"
            },
            {
                "id": "144",
                "name": "酒泉",
                "value": "jiuquan",
                "pingyin": "jiuquan"
            },
            {
                "id": "145",
                "name": "江门",
                "value": "jiangmen",
                "pingyin": "jiangmen"
            },
            {
                "id": "146",
                "name": "揭阳",
                "value": "jieyang",
                "pingyin": "jieyang"
            },
            {
                "id": "147",
                "name": "济源",
                "value": "jiyuan",
                "pingyin": "jiyuan"
            },
            {
                "id": "148",
                "name": "焦作",
                "value": "jiaozuo",
                "pingyin": "jiaozuo"
            },
            {
                "id": "149",
                "name": "鸡西",
                "value": "jixi",
                "pingyin": "jixi"
            },
            {
                "id": "150",
                "name": "佳木斯",
                "value": "jiamusi",
                "pingyin": "jiamusi"
            },
            {
                "id": "151",
                "name": "荆门",
                "value": "jingmen",
                "pingyin": "jingmen"
            },
            {
                "id": "152",
                "name": "荆州",
                "value": "jingzhou",
                "pingyin": "jingzhou"
            },
            {
                "id": "156",
                "name": "吉林",
                "value": "jilin",
                "pingyin": "jilin"
            },
            {
                "id": "157",
                "name": "吉安",
                "value": "jian",
                "pingyin": "jian"
            },
            {
                "id": "158",
                "name": "景德镇",
                "value": "jingdezhen",
                "pingyin": "jingdezhen"
            },
            {
                "id": "159",
                "name": "九江",
                "value": "jiujiang",
                "pingyin": "jiujiang"
            },
            {
                "id": "160",
                "name": "锦州",
                "value": "jinzhou",
                "pingyin": "jinzhou"
            },
            {
                "id": "161",
                "name": "济宁",
                "value": "jining",
                "pingyin": "jining"
            },
            {
                "id": "162",
                "name": "晋城",
                "value": "jincheng",
                "pingyin": "jincheng"
            },
            {
                "id": "163",
                "name": "晋中",
                "value": "jinzhong",
                "pingyin": "jinzhong"
            },
            {
                "id": "164",
                "name": "嘉兴",
                "value": "jiaxing",
                "pingyin": "jiaxing"
            },
            {
                "id": "165",
                "name": "金华",
                "value": "jinhua",
                "pingyin": "jinhua"
            },
            {
                "id": "166",
                "name": "开封",
                "value": "kaifeng",
                "pingyin": "kaifeng"
            },
            {
                "id": "167",
                "name": "喀什",
                "value": "kashi",
                "pingyin": "kashi"
            },
            {
                "id": "168",
                "name": "克拉玛依",
                "value": "kelamayi",
                "pingyin": "kelamayi"
            },
            {
                "id": "169",
                "name": "克孜",
                "value": "kezi",
                "pingyin": "kezi"
            },
            {
                "id": "170",
                "name": "昆明",
                "value": "kunming",
                "pingyin": "kunming"
            },
            {
                "id": "171",
                "name": "六安",
                "value": "luan",
                "pingyin": "luan"
            },
            {
                "id": "172",
                "name": "龙岩",
                "value": "longyan",
                "pingyin": "longyan"
            },
            {
                "id": "173",
                "name": "兰州",
                "value": "lanzhou",
                "pingyin": "lanzhou"
            },
            {
                "id": "174",
                "name": "临夏",
                "value": "linxia",
                "pingyin": "linxia"
            },
            {
                "id": "175",
                "name": "陇南",
                "value": "longnan",
                "pingyin": "longnan"
            },
            {
                "id": "178",
                "name": "来宾",
                "value": "laibin",
                "pingyin": "laibin"
            },
            {
                "id": "179",
                "name": "柳州",
                "value": "liuzhou",
                "pingyin": "liuzhou"
            },
            {
                "id": "180",
                "name": "六盘水",
                "value": "liupanshui",
                "pingyin": "liupanshui"
            },
            {
                "id": "181",
                "name": "乐东",
                "value": "ledong",
                "pingyin": "ledong"
            },
            {
                "id": "182",
                "name": "临高县",
                "value": "lingaoxian",
                "pingyin": "lingaoxian"
            },
            {
                "id": "183",
                "name": "陵水",
                "value": "lingshui",
                "pingyin": "lingshui"
            },
            {
                "id": "184",
                "name": "廊坊",
                "value": "langfang",
                "pingyin": "langfang"
            },
            {
                "id": "185",
                "name": "洛阳",
                "value": "luoyang",
                "pingyin": "luoyang"
            },
            {
                "id": "186",
                "name": "漯河",
                "value": "luohe",
                "pingyin": "luohe"
            },
            {
                "id": "187",
                "name": "娄底",
                "value": "loudi",
                "pingyin": "loudi"
            },
            {
                "id": "188",
                "name": "辽源",
                "value": "liaoyuan",
                "pingyin": "liaoyuan"
            },
            {
                "id": "189",
                "name": "连云港",
                "value": "lianyungang",
                "pingyin": "lianyungang"
            },
            {
                "id": "190",
                "name": "辽阳",
                "value": "liaoyang",
                "pingyin": "liaoyang"
            },
            {
                "id": "191",
                "name": "莱芜",
                "value": "laiwu",
                "pingyin": "laiwu"
            },
            {
                "id": "192",
                "name": "聊城",
                "value": "liaocheng",
                "pingyin": "liaocheng"
            },
            {
                "id": "193",
                "name": "临沂",
                "value": "linyi",
                "pingyin": "linyi"
            },
            {
                "id": "194",
                "name": "临汾",
                "value": "linfen",
                "pingyin": "linfen"
            },
            {
                "id": "195",
                "name": "吕梁",
                "value": "lvliang",
                "pingyin": "lvliang"
            },
            {
                "id": "196",
                "name": "乐山",
                "value": "leshan",
                "pingyin": "leshan"
            },
            {
                "id": "197",
                "name": "凉山",
                "value": "liangshan",
                "pingyin": "liangshan"
            },
            {
                "id": "198",
                "name": "泸州",
                "value": "luzhou",
                "pingyin": "luzhou"
            },
            {
                "id": "199",
                "name": "拉萨",
                "value": "lasa",
                "pingyin": "lasa"
            },
            {
                "id": "200",
                "name": "林芝",
                "value": "linzhi",
                "pingyin": "linzhi"
            },
            {
                "id": "201",
                "name": "丽江",
                "value": "lijiang",
                "pingyin": "lijiang"
            },
            {
                "id": "202",
                "name": "临沧",
                "value": "lincang",
                "pingyin": "lincang"
            },
            {
                "id": "203",
                "name": "丽水",
                "value": "lishui",
                "pingyin": "lishui"
            },
            {
                "id": "204",
                "name": "马鞍山",
                "value": "maanshan",
                "pingyin": "maanshan"
            },
            {
                "id": "205",
                "name": "茂名",
                "value": "maoming",
                "pingyin": "maoming"
            },
            {
                "id": "206",
                "name": "梅州",
                "value": "meizhou",
                "pingyin": "meizhou"
            },
            {
                "id": "207",
                "name": "牡丹江",
                "value": "mudanjiang",
                "pingyin": "mudanjiang"
            },
            {
                "id": "208",
                "name": "眉山",
                "value": "meishan",
                "pingyin": "meishan"
            },
            {
                "id": "209",
                "name": "绵阳",
                "value": "mianyang",
                "pingyin": "mianyang"
            },
            {
                "id": "210",
                "name": "南平",
                "value": "nanping",
                "pingyin": "nanping"
            },
            {
                "id": "211",
                "name": "宁德",
                "value": "ningde",
                "pingyin": "ningde"
            },
            {
                "id": "212",
                "name": "南宁",
                "value": "nanning",
                "pingyin": "nanning"
            },
            {
                "id": "213",
                "name": "南阳",
                "value": "nanyang",
                "pingyin": "nanyang"
            },
            {
                "id": "214",
                "name": "南通",
                "value": "nantong",
                "pingyin": "nantong"
            },
            {
                "id": "215",
                "name": "南昌",
                "value": "nanchang",
                "pingyin": "nanchang"
            },
            {
                "id": "216",
                "name": "南充",
                "value": "nanchong",
                "pingyin": "nanchong"
            },
            {
                "id": "217",
                "name": "内江",
                "value": "neijiang",
                "pingyin": "neijiang"
            },
            {
                "id": "218",
                "name": "那曲",
                "value": "naqu",
                "pingyin": "naqu"
            },
            {
                "id": "219",
                "name": "怒江",
                "value": "nujiang",
                "pingyin": "nujiang"
            },
            {
                "id": "220",
                "name": "宁波",
                "value": "ningbo",
                "pingyin": "ningbo"
            },
            {
                "id": "221",
                "name": "莆田",
                "value": "putian",
                "pingyin": "putian"
            },
            {
                "id": "222",
                "name": "平凉",
                "value": "pingliang",
                "pingyin": "pingliang"
            },
            {
                "id": "223",
                "name": "平顶山",
                "value": "pingdingshan",
                "pingyin": "pingdingshan"
            },
            {
                "id": "224",
                "name": "濮阳",
                "value": "puyang",
                "pingyin": "puyang"
            },
            {
                "id": "225",
                "name": "萍乡",
                "value": "pingxiang",
                "pingyin": "pingxiang"
            },
            {
                "id": "226",
                "name": "盘锦",
                "value": "panjin",
                "pingyin": "panjin"
            },
            {
                "id": "227",
                "name": "攀枝花",
                "value": "panzhihua",
                "pingyin": "panzhihua"
            },
            {
                "id": "228",
                "name": "泉州",
                "value": "quanzhou",
                "pingyin": "quanzhou"
            },
            {
                "id": "229",
                "name": "庆阳",
                "value": "qingyang",
                "pingyin": "qingyang"
            },
            {
                "id": "230",
                "name": "清远",
                "value": "qingyuan",
                "pingyin": "qingyuan"
            },
            {
                "id": "231",
                "name": "钦州",
                "value": "qinzhou",
                "pingyin": "qinzhou"
            },
            {
                "id": "232",
                "name": "黔东",
                "value": "qiandong",
                "pingyin": "qiandong"
            },
            {
                "id": "233",
                "name": "黔南",
                "value": "qiannan",
                "pingyin": "qiannan"
            },
            {
                "id": "234",
                "name": "黔西",
                "value": "qianxi",
                "pingyin": "qianxi"
            },
            {
                "id": "235",
                "name": "琼海",
                "value": "qionghai",
                "pingyin": "qionghai"
            },
            {
                "id": "236",
                "name": "琼中",
                "value": "qiongzhong",
                "pingyin": "qiongzhong"
            },
            {
                "id": "237",
                "name": "秦皇岛",
                "value": "qinhuangdao",
                "pingyin": "qinhuangdao"
            },
            {
                "id": "238",
                "name": "七台河",
                "value": "qitaihe",
                "pingyin": "qitaihe"
            },
            {
                "id": "239",
                "name": "齐齐哈尔",
                "value": "qiqihaer",
                "pingyin": "qiqihaer"
            },
            {
                "id": "240",
                "name": "潜江",
                "value": "qianjiang",
                "pingyin": "qianjiang"
            },
            {
                "id": "241",
                "name": "曲靖",
                "value": "qujing",
                "pingyin": "qujing"
            },
            {
                "id": "242",
                "name": "衢州",
                "value": "quzhou",
                "pingyin": "quzhou"
            },
            {
                "id": "243",
                "name": "日照",
                "value": "rizhao",
                "pingyin": "rizhao"
            },
            {
                "id": "244",
                "name": "日喀则",
                "value": "rikaze",
                "pingyin": "rikaze"
            },
            {
                "id": "245",
                "name": "宿州",
                "value": "suzhou",
                "pingyin": "suzhou"
            },
            {
                "id": "246",
                "name": "三明",
                "value": "sanming",
                "pingyin": "sanming"
            },
            {
                "id": "247",
                "name": "汕头",
                "value": "shantou",
                "pingyin": "shantou"
            },
            {
                "id": "248",
                "name": "汕尾",
                "value": "shanwei",
                "pingyin": "shanwei"
            },
            {
                "id": "249",
                "name": "韶关",
                "value": "shaoguan",
                "pingyin": "shaoguan"
            },
            {
                "id": "250",
                "name": "石家庄",
                "value": "shijiazhuang",
                "pingyin": "shijiazhuang"
            },
            {
                "id": "251",
                "name": "三门峡",
                "value": "sanmenxia",
                "pingyin": "sanmenxia"
            },
            {
                "id": "252",
                "name": "商丘",
                "value": "shangqiu",
                "pingyin": "shangqiu"
            },
            {
                "id": "253",
                "name": "双鸭山",
                "value": "shuangyashan",
                "pingyin": "shuangyashan"
            },
            {
                "id": "254",
                "name": "绥化",
                "value": "suihua",
                "pingyin": "suihua"
            },
            {
                "id": "255",
                "name": "神农架",
                "value": "shennongjia",
                "pingyin": "shennongjia"
            },
            {
                "id": "256",
                "name": "十堰",
                "value": "shiyan",
                "pingyin": "shiyan"
            },
            {
                "id": "257",
                "name": "随州",
                "value": "suizhou",
                "pingyin": "suizhou"
            },
            {
                "id": "258",
                "name": "邵阳",
                "value": "shaoyang",
                "pingyin": "shaoyang"
            },
            {
                "id": "259",
                "name": "四平",
                "value": "siping",
                "pingyin": "siping"
            },
            {
                "id": "260",
                "name": "松原",
                "value": "songyuan",
                "pingyin": "songyuan"
            },
            {
                "id": "261",
                "name": "苏州",
                "value": "suzhou",
                "pingyin": "suzhou"
            },
            {
                "id": "262",
                "name": "宿迁",
                "value": "suqian",
                "pingyin": "suqian"
            },
            {
                "id": "263",
                "name": "上饶",
                "value": "shangrao",
                "pingyin": "shangrao"
            },
            {
                "id": "264",
                "name": "沈阳",
                "value": "shenyang",
                "pingyin": "shenyang"
            },
            {
                "id": "265",
                "name": "石嘴山",
                "value": "shizuishan",
                "pingyin": "shizuishan"
            },
            {
                "id": "266",
                "name": "朔州",
                "value": "shuozhou",
                "pingyin": "shuozhou"
            },
            {
                "id": "267",
                "name": "商洛",
                "value": "shangluo",
                "pingyin": "shangluo"
            },
            {
                "id": "268",
                "name": "遂宁",
                "value": "suining",
                "pingyin": "suining"
            },
            {
                "id": "269",
                "name": "山南",
                "value": "shannan",
                "pingyin": "shannan"
            },
            {
                "id": "270",
                "name": "石河子",
                "value": "shihezi",
                "pingyin": "shihezi"
            },
            {
                "id": "271",
                "name": "思茅",
                "value": "simao",
                "pingyin": "simao"
            },
            {
                "id": "272",
                "name": "绍兴",
                "value": "shaoxing",
                "pingyin": "shaoxing"
            },
            {
                "id": "273",
                "name": "顺德",
                "value": "shunde",
                "pingyin": "shunde"
            },
            {
                "id": "274",
                "name": "铜陵",
                "value": "tongling",
                "pingyin": "tongling"
            },
            {
                "id": "275",
                "name": "天水",
                "value": "tianshui",
                "pingyin": "tianshui"
            },
            {
                "id": "276",
                "name": "铜仁",
                "value": "tongren",
                "pingyin": "tongren"
            },
            {
                "id": "277",
                "name": "屯昌县",
                "value": "tunchangxian",
                "pingyin": "tunchangxian"
            },
            {
                "id": "278",
                "name": "唐山",
                "value": "tangshan",
                "pingyin": "tangshan"
            },
            {
                "id": "279",
                "name": "天门",
                "value": "tianmen",
                "pingyin": "tianmen"
            },
            {
                "id": "280",
                "name": "天津",
                "value": "tianjin",
                "pingyin": "tianjin"
            },
            {
                "id": "281",
                "name": "通化",
                "value": "tonghua",
                "pingyin": "tonghua"
            },
            {
                "id": "282",
                "name": "泰州",
                "value": "qinzhou",
                "pingyin": "qinzhou"
            },
            {
                "id": "283",
                "name": "铁岭",
                "value": "tieling",
                "pingyin": "tieling"
            },
            {
                "id": "284",
                "name": "通辽",
                "value": "tongliao",
                "pingyin": "tongliao"
            },
            {
                "id": "285",
                "name": "泰安",
                "value": "taian",
                "pingyin": "taian"
            },
            {
                "id": "286",
                "name": "太原",
                "value": "taiyuan",
                "pingyin": "taiyuan"
            },
            {
                "id": "287",
                "name": "铜川",
                "value": "tongchuan",
                "pingyin": "tongchuan"
            },
            {
                "id": "288",
                "name": "图木舒克",
                "value": "tumushuke",
                "pingyin": "tumushuke"
            },
            {
                "id": "289",
                "name": "吐鲁番",
                "value": "tulufan",
                "pingyin": "tulufan"
            },
            {
                "id": "290",
                "name": "台州",
                "value": "taizhou",
                "pingyin": "taizhou"
            },
            {
                "id": "291",
                "name": "塔城",
                "value": "tacheng",
                "pingyin": "tacheng"
            },
            {
                "id": "292",
                "name": "芜湖",
                "value": "wuhu",
                "pingyin": "wuhu"
            },
            {
                "id": "293",
                "name": "武威",
                "value": "wuwei",
                "pingyin": "wuwei"
            },
            {
                "id": "294",
                "name": "塔城",
                "value": "tacheng",
                "pingyin": "tacheng"
            },
            {
                "id": "295",
                "name": "梧州",
                "value": "wuzhou",
                "pingyin": "wuzhou"
            },
            {
                "id": "296",
                "name": "万宁",
                "value": "wanning",
                "pingyin": "wanning"
            },
            {
                "id": "297",
                "name": "文昌",
                "value": "wenchang",
                "pingyin": "wenchang"
            },
            {
                "id": "298",
                "name": "塔城",
                "value": "tacheng",
                "pingyin": "tacheng"
            },
            {
                "id": "299",
                "name": "五指山",
                "value": "wuzhishan",
                "pingyin": "wuzhishan"
            },
            {
                "id": "300",
                "name": "无锡",
                "value": "wuxi",
                "pingyin": "wuxi"
            },
            {
                "id": "301",
                "name": "乌海",
                "value": "wuhai",
                "pingyin": "wuhai"
            },
            {
                "id": "302",
                "name": "乌兰察布",
                "value": "wulanchabu",
                "pingyin": "wulanchabu"
            },
            {
                "id": "303",
                "name": "吴忠",
                "value": "wuzhong",
                "pingyin": "wuzhong"
            },
            {
                "id": "304",
                "name": "威海",
                "value": "weihai",
                "pingyin": "weihai"
            },
            {
                "id": "305",
                "name": "潍坊",
                "value": "weifang",
                "pingyin": "weifang"
            },
            {
                "id": "306",
                "name": "渭南",
                "value": "weinan",
                "pingyin": "weinan"
            },
            {
                "id": "307",
                "name": "乌鲁木齐",
                "value": "wulumuqi",
                "pingyin": "wulumuqi"
            },
            {
                "id": "308",
                "name": "五家渠",
                "value": "wujiaqu",
                "pingyin": "wujiaqu"
            },
            {
                "id": "309",
                "name": "文山",
                "value": "wenshan",
                "pingyin": "wenshan"
            },
            {
                "id": "310",
                "name": "温州",
                "value": "wenzhou",
                "pingyin": "wenzhou"
            },
            {
                "id": "311",
                "name": "乌苏里江",
                "value": "wusulijiang",
                "pingyin": "wusulijiang"
            },
            {
                "id": "312",
                "name": "邢台",
                "value": "xingtai",
                "pingyin": "xingtai"
            },
            {
                "id": "313",
                "name": "新乡",
                "value": "xinxiang",
                "pingyin": "xinxiang"
            },
            {
                "id": "314",
                "name": "信阳",
                "value": "xinyang",
                "pingyin": "xinyang"
            },
            {
                "id": "315",
                "name": "许昌",
                "value": "xuchang",
                "pingyin": "xuchang"
            },
            {
                "id": "316",
                "name": "仙桃",
                "value": "xiantao",
                "pingyin": "xiantao"
            },
            {
                "id": "317",
                "name": "咸宁",
                "value": "weining",
                "pingyin": "weining"
            },
            {
                "id": "318",
                "name": "襄樊",
                "value": "xiangfan",
                "pingyin": "xiangfan"
            },
            {
                "id": "319",
                "name": "孝感",
                "value": "xiaogan",
                "pingyin": "xiaogan"
            },
            {
                "id": "320",
                "name": "湘潭",
                "value": "xiangtan",
                "pingyin": "xiangtan"
            },
            {
                "id": "321",
                "name": "湘西",
                "value": "xiangxi",
                "pingyin": "xiangxi"
            },
            {
                "id": "322",
                "name": "徐州",
                "value": "xuzhou",
                "pingyin": "xuzhou"
            },
            {
                "id": "323",
                "name": "新余",
                "value": "xinyu",
                "pingyin": "xinyu"
            },
            {
                "id": "324",
                "name": "锡林郭勒",
                "value": "xilinguole",
                "pingyin": "xilinguole"
            },
            {
                "id": "325",
                "name": "兴安盟",
                "value": "xinganmeng",
                "pingyin": "xinganmeng"
            },
            {
                "id": "326",
                "name": "西宁",
                "value": "xining",
                "pingyin": "xining"
            },
            {
                "id": "327",
                "name": "忻州",
                "value": "xinzhou",
                "pingyin": "xinzhou"
            },
            {
                "id": "328",
                "name": "咸阳",
                "value": "xianyang",
                "pingyin": "xianyang"
            },
            {
                "id": "329",
                "name": "西双版纳",
                "value": "xishuangbanna",
                "pingyin": "xishuangbanna"
            },
            {
                "id": "330",
                "name": "阳江",
                "value": "yangjiang",
                "pingyin": "yangjiang"
            },
            {
                "id": "331",
                "name": "云浮",
                "value": "yunfu",
                "pingyin": "yunfu"
            },
            {
                "id": "332",
                "name": "玉林",
                "value": "yulin",
                "pingyin": "yulin"
            },
            {
                "id": "333",
                "name": "伊春",
                "value": "yichun",
                "pingyin": "yichun"
            },
            {
                "id": "334",
                "name": "宜昌",
                "value": "yichang",
                "pingyin": "yichang"
            },
            {
                "id": "335",
                "name": "益阳",
                "value": "yiyang",
                "pingyin": "yiyang"
            },
            {
                "id": "336",
                "name": "永州",
                "value": "yongzhou",
                "pingyin": "yongzhou"
            },
            {
                "id": "337",
                "name": "岳阳",
                "value": "yueyang",
                "pingyin": "yueyang"
            },
            {
                "id": "338",
                "name": "延边",
                "value": "yanbian",
                "pingyin": "yanbian"
            },
            {
                "id": "339",
                "name": "盐城",
                "value": "yancheng",
                "pingyin": "yancheng"
            },
            {
                "id": "340",
                "name": "扬州",
                "value": "yangzhou",
                "pingyin": "yangzhou"
            },
            {
                "id": "341",
                "name": "宜春",
                "value": "yichun",
                "pingyin": "yichun"
            },
            {
                "id": "342",
                "name": "鹰潭",
                "value": "yingtan",
                "pingyin": "yingtan"
            },
            {
                "id": "343",
                "name": "营口",
                "value": "yingkou",
                "pingyin": "yingkou"
            },
            {
                "id": "344",
                "name": "银川",
                "value": "yinchuan",
                "pingyin": "yinchuan"
            },
            {
                "id": "345",
                "name": "玉树",
                "value": "yushu",
                "pingyin": "yushu"
            },
            {
                "id": "346",
                "name": "烟台",
                "value": "yantai",
                "pingyin": "yantai"
            },
            {
                "id": "347",
                "name": "阳泉",
                "value": "yangquan",
                "pingyin": "yangquan"
            },
            {
                "id": "348",
                "name": "运城",
                "value": "yuncheng",
                "pingyin": "yuncheng"
            },
            {
                "id": "349",
                "name": "延安",
                "value": "yanan",
                "pingyin": "yanan"
            },
            {
                "id": "350",
                "name": "榆林",
                "value": "yulin",
                "pingyin": "yulin"
            },
            {
                "id": "351",
                "name": "雅安",
                "value": "yaan",
                "pingyin": "yaan"
            },
            {
                "id": "352",
                "name": "宜宾",
                "value": "yibin",
                "pingyin": "yibin"
            },
            {
                "id": "353",
                "name": "伊犁",
                "value": "yili",
                "pingyin": "yili"
            },
            {
                "id": "354",
                "name": "玉溪",
                "value": "yuxi",
                "pingyin": "yuxi"
            },
            {
                "id": "355",
                "name": "漳州",
                "value": "zhangzhou",
                "pingyin": "zhangzhou"
            },
            {
                "id": "356",
                "name": "张掖",
                "value": "zhangye",
                "pingyin": "zhangye"
            },
            {
                "id": "357",
                "name": "湛江",
                "value": "zhanjiang",
                "pingyin": "zhanjiang"
            },
            {
                "id": "358",
                "name": "肇庆",
                "value": "zhaoqing",
                "pingyin": "zhaoqing"
            },
            {
                "id": "359",
                "name": "中山",
                "value": "zhongshan",
                "pingyin": "zhongshan"
            },
            {
                "id": "360",
                "name": "珠海",
                "value": "zhuhai",
                "pingyin": "zhuhai"
            },
            {
                "id": "361",
                "name": "遵义",
                "value": "zunyi",
                "pingyin": "zunyi"
            },
            {
                "id": "362",
                "name": "张家口",
                "value": "zhangjiakou",
                "pingyin": "zhangjiakou"
            },
            {
                "id": "363",
                "name": "郑州",
                "value": "zhengzhou",
                "pingyin": "zhengzhou"
            },
            {
                "id": "364",
                "name": "周口",
                "value": "zhoukou",
                "pingyin": "zhoukou"
            },
            {
                "id": "365",
                "name": "驻马店",
                "value": "zhumadian",
                "pingyin": "zhumadian"
            },
            {
                "id": "366",
                "name": "张家界",
                "value": "zhangjiajie",
                "pingyin": "zhangjiajie"
            },
            {
                "id": "367",
                "name": "株洲",
                "value": "zhuzhou",
                "pingyin": "zhuzhou"
            },
            {
                "id": "368",
                "name": "镇江",
                "value": "zhenjiang",
                "pingyin": "zhenjiang"
            },
            {
                "id": "369",
                "name": "枣庄",
                "value": "zaozhuang",
                "pingyin": "zaozhuang"
            },
            {
                "id": "370",
                "name": "淄博",
                "value": "zibo",
                "pingyin": "zibo"
            },
            {
                "id": "371",
                "name": "资阳",
                "value": "ziyang",
                "pingyin": "ziyang"
            },
            {
                "id": "372",
                "name": "自贡",
                "value": "zigong",
                "pingyin": "zigong"
            },
            {
                "id": "373",
                "name": "昭通",
                "value": "zhaotong",
                "pingyin": "zhaotong"
            },
            {
                "id": "374",
                "name": "舟山",
                "value": "zhoushan",
                "pingyin": "zhoushan"
            },
            {
                "id": "375",
                "name": "中卫",
                "value": "zhongwei",
                "pingyin": "zhongwei"
            }
        ]
    },
    "status": "ok"
};


var city = address['response']['data'];
var citylength = city.length;


var cityInit =function(){
		var addressZone = document.getElementById('addressZone');
		var ul = document.getElementById('cityRecode');
		ul.innerHTML = '';
		for(var i = 0;i<citylength;i++){
			var li = document.createElement('li');
			var a = document.createElement('a');
			a.innerHTML = city[i]['name'];
			li.appendChild(a);
			$(a).attr('data-id',city[i]['id']);
			$(a).attr('data-value',city[i]['value']);
			$(a).attr('data-pingyin',city[i]['pingyin']);
			$(a).attr('data-name',city[i]['name']);
			ul.appendChild(li);
			a.onclick =chooseCity;
		};
	
	};
var searchcity = function(){
		var searchCity = $.trim($('#searchCity').val()).toLowerCase();
		if(searchCity.length<= 0){
			cityInit();
			return;
		};
		var ul = document.getElementById('cityRecode');
		var num =0;
		ul.innerHTML = '';
		for(var i = 0;i<citylength;i++){
			var target = city[i];
			var targetName = target['name'];
			var targetPingyin = target['pingyin'];
			
			var nameHas = targetName.indexOf(searchCity);
			var pyHas = targetPingyin.indexOf(searchCity);
			
			if(nameHas != -1 || pyHas != -1){
				var li = document.createElement('li');
    			var a = document.createElement('a');
    			a.innerHTML = targetName;
    			li.appendChild(a);
				$(a).attr('data-id',target['id']);
				$(a).attr('data-value',target['value']);
				$(a).attr('data-pingyin',target['pingyin']);
				$(a).attr('data-name',target['name']);
				ul.appendChild(li);
				a.onclick =chooseCity;
			};
			
		};
	};